package com.heima.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 排班
 * </p>
 *
 * @author 黑马程序员
 * @since 2023-01-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("hh_schedule")
public class Schedule implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 科室id
     */
    private Integer deptId;

    /**
     * 医生id
     */
    private Integer doctorId;

    /**
     * 1上午 2下午
     */
    private Integer type;

    /**
     * 号源数
     */
    private Integer numberAmount;

    /**
     * 日期
     */
    private LocalDate date;

    /**
     * 时段
     */
    private LocalTime time;

    /**
     * 1开启 0关闭
     */
    private Integer enable;


}
